import 'dart:typed_data';

List<int> intToBytes(int v) => Uint64List.fromList([v]).buffer.asInt8List();

int intFromBytes(List<int> v) =>
    Uint8List.fromList(v).buffer.asInt64List().first;
